Skip to content

Conversation

@rICTx-T1D
Copy link

Changed return values for error handling in txt record addition. DESec.io create txt-record but PUT was indicated as failed

Test pass OK

Changed return values for error handling in txt record addition.
DESec.io create txt-record but PUT was indicated as failed
@github-actions
Copy link

github-actions bot commented Nov 5, 2025

Welcome
READ ME !!!!!
Read me !!!!!!
First thing: don't send PR to the master branch, please send to the dev branch instead.
Please read the DNS API Dev Guide.
You MUST pass the DNS-API-Test.
Then reply on this message, otherwise, your code will not be reviewed or merged.
Please also make sure to add/update the usage here: https://github.com/acmesh-official/acme.sh/wiki/dnsapi2
注意: 必须通过了 DNS-API-Test 才会被 review. 无论是修改, 还是新加的 dns api, 都必须确保通过这个测试.

@rICTx-T1D rICTx-T1D changed the base branch from master to dev November 5, 2025 18:43
@rICTx-T1D
Copy link
Author

#2180

@Neilpang
Copy link
Member

Neilpang commented Nov 9, 2025

why return 0 when there is add error ?

@rICTx-T1D
Copy link
Author

rICTx-T1D commented Nov 18, 2025

why return 0 when there is add error ?

When return 1 or higher than 0, acme think its not okay and delete the fresh created dns record. DESec.io has return error but the record was successfully created and is displaying on GUI.

Maybe the API doesn't retturn correct status code. But this is out over our scope here.

@Neilpang
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants